SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{919991a5a98994d6f3979efc30bf8ed81b0d46e5a2b1d4d341f40a2d4aec4adc}Calpe{919991a5a98994d6f3979efc30bf8ed81b0d46e5a2b1d4d341f40a2d4aec4adc}' OR prCity = 'Calpe' OR prZip = 'Calpe' OR prStreet LIKE '{919991a5a98994d6f3979efc30bf8ed81b0d46e5a2b1d4d341f40a2d4aec4adc}Calpe{919991a5a98994d6f3979efc30bf8ed81b0d46e5a2b1d4d341f40a2d4aec4adc}' OR prCountry = 'Calpe') AND (prLocation LIKE '{919991a5a98994d6f3979efc30bf8ed81b0d46e5a2b1d4d341f40a2d4aec4adc}Spain{919991a5a98994d6f3979efc30bf8ed81b0d46e5a2b1d4d341f40a2d4aec4adc}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{919991a5a98994d6f3979efc30bf8ed81b0d46e5a2b1d4d341f40a2d4aec4adc}Spain{919991a5a98994d6f3979efc30bf8ed81b0d46e5a2b1d4d341f40a2d4aec4adc}' OR prCountry = 'Spain')